Approximate shortest paths in weighted graphs
نویسنده
چکیده
We present an approximation algorithm for the all pairs shortest paths (APSP) problem in weighed graphs. Our algorithm solves the APSP problem for weighted directed graphs, with real (positive or negative) weights, up to an additive error of . For any pair of vertices u, v, the algorithm finds a path whose length is at most δ(u, v) + . The algorithm is randomized and runs in Õ(n) < O(n) time, where n is the number of vertices and ω is the matrix multiplication exponent. The absolute weights are allowed to mildly depend upon n, being at most n (we note that even if the weights are constants, δ(u, v) can be linear in n, while the error requirement is a small constant independent of n). Clearly, -additive approximations generalize exact algorithms for integer weighted instances. Hence, if ω = 2 + o(1), this algorithm is as fast as any algorithm known for integer APSP in directed graphs, and is more general.
منابع مشابه
A new approach to all-pairs shortest paths on real-weighted graphs
We present a new all-pairs shortest path algorithm that works with real-weighted graphs in the traditional comparison-addition model. It runs in O(mn+n2 log log n) time, improving on the long-standing bound of O(mn + n2 logn) derived from an implementation of Dijkstra's algorithm with Fibonacci heaps. Here m and n are the number of edges and vertices, respectively. Our algorithm is rooted in th...
متن کاملLPI: Approximating Shortest Paths using Landmarks
We present LPI, a novel approach for finding approximate shortest paths in weighted graphs. The basis of the algorithm is the presence of landmarks placed at vertices throughout the graph. Each landmark stores the shortest path from itself to all other vertices. LPI works by searching the intersection points along the landmark paths to approximate a path between two points. We show that the pat...
متن کاملDeterministic Partially Dynamic Single Source Shortest Paths in Weighted Graphs
In this paper we consider the decremental single-source shortest paths (SSSP) problem, where given a graph G and a source node s the goal is to maintain shortest distances between s and all other nodes in G under a sequence of online adversarial edge deletions. In their seminal work, Even and Shiloach [JACM 1981] presented an exact solution to the problem in unweighted graphs with only O(mn) to...
متن کاملFaster Algorithms for All-pairs Approximate Shortest Paths in Undirected Graphs
Let G = (V, E) be a weighted undirected graph having non-negative edge weights. An estimate δ̂(u, v) of the actual distance δ(u, v) between u, v ∈ V is said to be of stretch t iff δ(u, v) ≤ δ̂(u, v) ≤ t · δ(u, v). Computing distances of small stretch efficiently (both in terms of time and space) is a well-studied problem in graph algorithms. We present a simple, novel and versatile scheme for all...
متن کاملDistance closures on complex networks
To expand the toolbox available to network science, we study the isomorphism between distance and Fuzzy (proximity or strength) graphs. Distinct transitive closures in Fuzzy graphs lead to closures of their isomorphic distance graphs with widely different structural properties. For instance, the All Pairs Shortest Paths (APSP) problem, based on the Dijkstra algorithm, is equivalent to a metric ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- J. Comput. Syst. Sci.
دوره 78 شماره
صفحات -
تاریخ انتشار 2012